package com.atguigu.edu.service;

import com.atguigu.edu.entity.EduChapter;
import com.atguigu.edu.entity.vo.EduChapterVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author alexzshl
 * @since 2021-05-04
 */
public interface EduChapterService extends IService<EduChapter> {

    List<EduChapterVo> getChapterVideoByCourseId(String courseId);

    Boolean addChapter(EduChapter chapter);

    Boolean deleteChapter(String chapterId);

    Boolean updateChapter(EduChapter chapter);
}
